﻿
namespace SpiderMaster.AspNet
{
    public sealed partial class TradingCenterHttpApplication
    {
        /// <summary> Initializes this instance.
        /// </summary>
        /// <returns></returns>
        public static void OnStart()
        {
            Instance = GetInstance();

            TradingCenter.Initialize().Start();

            // CodeManagement.Catch<PropertyNotFoundException>("");

            // LogManager LogManager = TradingCenter.Instance.Get<LogManager>();

            // CodeManagement.Trip<TradingCenterHttpApplication>();

            //if (LogManager.IsNotNull())
            //    LogManager.RecordMessage("LogManager Recorded test from 'Global Startup' Object.");
        }
    }
}
